#ifndef _FAN_H
#define _FAN_H

const int FAN_SPEED_LEVEL1 = 0;
const int FAN_SPEED_LEVEL2 = 127;
const int FAN_SPEED_LEVEL3 = 159;
const int FAN_SPEED_LEVEL4 = 255;

void fan_control(int fan_control_pin, const int fan_level);
void get_fan_speed(int fan_speed_pin, float *speed);


#endif
